<template>
    <div class="number">
        <h2>number</h2>
    </div>
</template>
<script setup lang="ts">
// Object.defineProperty(this, a)
let a = {
    value: 1,
    valueOf() {
        return this.value++
    },
    /* toString() {
        return this.value++
    }, */
}
if (a === 1 && a === 2 && a === 3) {
    console.log('条件成立！')
    console.log(a)
}
</script>
<style lang="scss" scoped>
.number {
}
</style>
